SelectClientCertificateCallback

This callback is invoked when the web server requires authorization via SSL client certificate. To access the list of the available certificates in the system storage that match the server criteria you can use the certificates method.

The Params contains information about SSL authorization request.

You can use this callback to display a dialog with the list of the available certificates that allows the user to select the required certificate. Please note that it is not necessary to display a dialog in this callback.

Use the cancel method to cancel the authorization.

Use the select method to inform the browser to use the client certificate located by the passed index in the certificate list.

Use the select method to inform the browser to use the specified client certificate.

You can construct a ClientCertificate instance from an existing instance using the corresponding of method.

If the callback throws an exception, the cancel method will be invoked.

Inheritors

Types

Link copied to clipboard
An action providing a response to the SelectClientCertificateCallback.
Link copied to clipboard
interface Params
The parameters of the SelectClientCertificateCallback.

Functions

Link copied to clipboard
abstract fun on(params: P, tell: R)
Invoked when the callback needs a response for the given callback parameters.